package com.avecsys.quotemanager.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Sam Sundar K
 * 
 */
public class DateUtils {

	protected static final String INTERNAL_DATE_TIME_FORMAT = "yyyyMMddHHmmss";

	/**
	 * Method to return the current date and time in internal date time format
	 * 
	 * @return current date time value in string type
	 */
	public static String getCurrentDateTimeInternalFormat() {
		SimpleDateFormat sf = new SimpleDateFormat(INTERNAL_DATE_TIME_FORMAT);
		return sf.format(new Date());
	}

}
